FROM java:8
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
VOLUME /tmp
COPY target/*.jar app.jar
ENTRYPOINT ["java",  "-javaagent:/home/skywalking/apache-skywalking-apm-bin/agent/skywalking-agent.jar","-Dskywalking.agent.service_name=jiuzhou-system", "-jar","-Xmx3392M" , "-Xms3392M" , "-Xmn1216M" , "-XX:MaxMetaspaceSize=512M" , "-XX:MetaspaceSize=512M" , "app.jar"]